home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / tcpats.zip / TURBOC2.PAT < prev   
Text File  |  1987-06-19  |  7KB  |  152 lines

  1. PRODUCT : TURBO C                         NUMBER : 355
  2. VERSION : 1.0                        
  3.      OS : PC-DOS
  4.    DATE : May 28, 1987                          PAGE : 1/1
  5.  
  6.  TITLE  : STRUCTURE PUSH FLOATING POINT PATCH
  7.  
  8. ______________________________________________________________________________
  9.  
  10.  
  11.      The following patch solves a problem with pushing structures
  12.      with floating point elements onto the stack in Turbo C.
  13.  
  14.      To apply this patch, you will need to use the DOS utility DEBUG.COM.
  15.      You may obtain a copy of DEBUG.COM from one of your original PC-DOS
  16.      or  MS-DOS diskettes.
  17.  
  18.      NOTE:   1. Do not patch your original Turbo C disk, use a working or
  19.                 backup copy of TCC.EXE and TC.EXE for this patch.
  20.  
  21.              2. DEBUG is not sensitive to upper and lower case.  All ad-
  22.                 dresses are listed in upper case for ease of readibility.
  23.  
  24.              3. XXXX,YYYY,ZZZZ are hexidecimal digits returned by DEBUG.
  25.                 You must  replace these  digits accordingly when  typing
  26.                 in your commands.
  27.  
  28.              4. While in DEBUG, the prompt will appear as a dash (-).
  29.  
  30.              5. If you do not receive the appropriate response,press "q"
  31.                 followed by  <Enter>,  to exit  from DEBUG.   Check your
  32.                 version number and, if correct, try again.
  33.  
  34.              6. TCC.EXE and TC.EXE will not fit together onto a 360K disk.
  35.                 To patch both  programs on a floppy disk,  you may need to
  36.                 copy  TCC.EXE and DEBUG.COM  onto one disk and perform the
  37.                 patch.  Save the patched version of TCC.EXE to another
  38.                 disk.  Repeat the same steps using TC.EXE.
  39.  
  40.      At the  DOS prompt,  type the  following  information exactly as it
  41.      appears (Conclude each line by pressing <Enter>).
  42.  
  43.  
  44.                              Patch for TCC.EXE
  45.  
  46.      Type the following:          You will see:
  47.  
  48.      ren tcc.exe tcc.xex<Enter>   A>
  49.  
  50.      debug tcc.xex<Enter>         -
  51.  
  52.      r<Enter>                     ... CS=XXXX ...
  53.                                   -
  54.  
  55.      h XXXX 1C0C<Enter>           YYYY  ZZZZ
  56.                                   -
  57.  
  58.      e YYYY:2FAD<Enter>           YYYY:2FAD   25.
  59.  
  60.      A9<Space>                    YYYY:2FAD   25.A9   01.
  61.      <Space>                      YYYY:2FAD   25.A9   01.     00.
  62.      <Space>                      YYYY:2FB0   81.
  63.      74<Space>                    YYYY:2FB0   81.74   E2.
  64.      0B<Space>                    YYYY:2FB0   81.74   E2.0B   00.
  65.      40<Space>                    YYYY:2FB0   81.74   E2.0B   00.40   00.
  66.      26<Space>                    YYYY:2FB0   81.74   E2.0B   00.40   00.26
  67.                                               0B.
  68.      83<Space>                    YYYY:2FB0   81.74   E2.0B   00.40   00.26
  69.                                               0B.83   D0.
  70.      47<Space>                    YYYY:2FB0   81.74   E2.0B   00.40   00.26
  71.                                               0B.83   D0.47   74.
  72.      6<Space>                     YYYY:2FB0   81.74   E2.0B   00.40   00.26
  73.                                               0B.83   D0.47   74.6    0A.
  74.      1<Space>                     YYYY:2FB8   26.
  75.      <Space>                      YYYY:2FB8   26.     83.
  76.      <Space>                      YYYY:2FB8   26.     83.     47.
  77.      57<Space>                    YYYY:2FB8   26.     83.     47.57   06.
  78.      8<Space>                     YYYY:2FB8   26.     83.     47.57   06.8
  79.                                               01.
  80.      0<Space>                     YYYY:2FB8   26.     83.     47.57   06.8
  81.                                               01.00   26.
  82.      29<Space>                    YYYY:2FB8   26.     83.     47.57   06.8
  83.                                               01.00   26.29   83.
  84.      6<Space>                     YYYY:2FB8   26.     83.     47.57   06.8
  85.                                               01.00   26.29   83.6    57.
  86.      54<Space>                    YYYY:2FC0   08.
  87.      74<Space>                    YYYY:2FC0   08.74   00.
  88.      90<Enter>                    YYYY:2FC0   08.74   00.90
  89.                                   -
  90.  
  91.      w<Enter>                     Writing 2948A bytes
  92.                                   -
  93.  
  94.      q<Enter>                     A>
  95.  
  96.      ren tcc.xex tcc.exe<Enter>   A>
  97.  
  98.  
  99.                              Patch for TC.EXE
  100.  
  101.      Type the following:          You will see:
  102.  
  103.      ren tc.exe tc.xex<Enter>     A>
  104.  
  105.      debug tc.xex<Enter>          -
  106.  
  107.      r<Enter>                     ... CS=XXXX ...
  108.                                   -
  109.  
  110.      h XXXX 2557<Enter>           YYYY  ZZZZ
  111.                                   -
  112.  
  113.      e YYYY:2FA4<Enter>           YYYY:2FA4   25.
  114.  
  115.      A9<Space>                    YYYY:2FA4   25.A9   01.
  116.      <Space>                      YYYY:2FA4   25.A9   01.     00.
  117.      <Space>                      YYYY:2FA4   25.A9   01.     00.     81.
  118.      74<Space>                    YYYY:2FA8   E2.
  119.      0B<Space>                    YYYY:2FA8   E2.0B   00.
  120.      40<Space>                    YYYY:2FA8   E2.0B   00.40   00.
  121.      26<Space>                    YYYY:2FA8   E2.0B   00.40   00.26   0B.
  122.      83<Space>                    YYYY:2FA8   E2.0B   00.40   00.26   0B.83
  123.                                               D0.
  124.      47<Space>                    YYYY:2FA8   E2.0B   00.40   00.26   0B.83
  125.                                               D0.47   74.
  126.      6<Space>                     YYYY:2FA8   E2.0B   00.40   00.26   0B.83
  127.                                               D0.47   74.6    0A.
  128.      1<Space>                     YYYY:2FA8   E2.0B   00.40   00.26   0B.83
  129.                                               D0.47   74.6    0A.1    26.
  130.      <Space>                      YYYY:2FB0   83.
  131.      <Space>                      YYYY:2FB0   83.     47.
  132.      57<Space>                    YYYY:2FB0   83.     47.57   06.8    26.
  133.      8<Space>                     YYYY:2FB0   83.     47.57   06.8    01.
  134.      0<Space>                     YYYY:2FB0   83.     47.57   06.8    01.00
  135.                                               26.
  136.      29<Space>                    YYYY:2FB0   83.     47.57   06.8    01.00
  137.                                               26.29   83.
  138.      6<Space>                     YYYY:2FB0   83.     47.57   06.8    01.00
  139.                                               26.29   83.6    57.6    08.
  140.      C<Space>                     YYYY:2FB0   83.     47.57   06.8    01.00
  141.                                               26.29   83.6    57.C    08.
  142.      A3<Space>                    YYYY:2FB8   00.
  143.      90<Enter>                    YYYY:2FB8   00.90
  144.                                   -
  145.  
  146.      w<Enter>                     Writing 38759 bytes
  147.                                   -
  148.  
  149.      q<Enter>                     A>
  150.  
  151.      ren tc.xex tc.exe<Enter>     A>
  152.